home *** CD-ROM | disk | FTP | other *** search
- goto init
-
- dial:
- strcmp s4 " "
- if success
- return
- endif
- isfile s4
- if success
- return
- endif
- clear
- box 00 00 02 79 n9
- atsay 00 08 n9 "╤══════════╤═════════════════════════════╤"
- atsay 01 08 n9 "│ │ │"
- atsay 02 08 n9 "╧══════════╧═════════════════════════════╧"
- atsay 01 02 n8 "xxxxx"
- atsay 01 10 n8 s4
- atsay 01 21 n8 "xxxxxxxxxxxxxxxxxxxxxxxxxxx"
- atsay 01 51 n8 s5
- locate 05 00
- transmit "I^m"
- pause 1
- transmit "ATZ^m"
- waitfor "OK"
- transmit "^E^m"
- waitfor "READY"
- transmit "D"
- transmit S4
- transmit "^m"
- rget s1
- rget s1 80 40
- rget s1 40 40
- rget s1 40 40
-
- mess:
- find s1 "BUSY"
- if found
- strcpy s9 "M"
- return
- endif
- find s1 "ANSWER TONE"
- if found
- clear
- log open s4
- alarm 2
- exit
- endif
- find s1 "RINGING"
- if found
- rget s1
- find s1 "RINGING"
- if not found
- goto mess
- else
- log open s4
- message "APCP: No answer - still ringing"
- log close
- transmit "^C^D^C"
- endif
- else
- endif
- return
-
- top:
- find s0 "A"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "B"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "C"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "D"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "E"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "F"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "G"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "H"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "I"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "J"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "K"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "L"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "M"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "N"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "O"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "P"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "Q"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "R"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "S"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "T"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "U"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "V"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "W"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "X"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "Y"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "Z"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "0"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "1"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "2"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "3"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "4"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "5"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "6"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "7"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "8"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "9"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "@"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "#"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "$"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "%"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "&"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s0 "*"
- if found
- strcpy s4 " "
- strcpy s5 " "
- gosub dial
- endif
- find s9 "M"
- if found
- strcpy s9 " "
- goto top
- endif
- clear
- box 00 00 02 79 n9
- atsay 01 02 n8 "APCP: All numbers connected / didn't answer ... terminating ..."
- locate 05 00
- alarm 2
- exit
-
- init:
- strcpy s9 " "
- log close
- clear
- init n9 07
- init n8 07
- box 00 00 22 38 n9
- box 00 41 22 79 n9
- atsay 01 02 n8 "A ........................ ... ...."
- atsay 02 02 n8 "B ........................ ... ...."
- atsay 03 02 n8 "C ........................ ... ...."
- atsay 04 02 n8 "D ........................ ... ...."
- atsay 05 02 n8 "E ........................ ... ...."
- atsay 06 02 n8 "F ........................ ... ...."
- atsay 07 02 n8 "G ........................ ... ...."
- atsay 08 02 n8 "H ........................ ... ...."
- atsay 09 02 n8 "I ........................ ... ...."
- atsay 10 02 n8 "J ........................ ... ...."
- atsay 11 02 n8 "K ........................ ... ...."
- atsay 12 02 n8 "L ........................ ... ...."
- atsay 13 02 n8 "M ........................ ... ...."
- atsay 14 02 n8 "N ........................ ... ...."
- atsay 15 02 n8 "O ........................ ... ...."
- atsay 16 02 n8 "P ........................ ... ...."
- atsay 17 02 n8 "Q ........................ ... ...."
- atsay 18 02 n8 "R ........................ ... ...."
- atsay 19 02 n8 "S ........................ ... ...."
- atsay 20 02 n8 "T ........................ ... ...."
- atsay 21 02 n8 "U ........................ ... ...."
- atsay 01 43 n8 "V ........................ ... ...."
- atsay 02 43 n8 "W ........................ ... ...."
- atsay 03 43 n8 "X ........................ ... ...."
- atsay 04 43 n8 "Y ........................ ... ...."
- atsay 05 43 n8 "Z ........................ ... ...."
- atsay 06 43 n8 "0 ........................ ... ...."
- atsay 07 43 n8 "1 ........................ ... ...."
- atsay 08 43 n8 "2 ........................ ... ...."
- atsay 09 43 n8 "3 ........................ ... ...."
- atsay 10 43 n8 "4 ........................ ... ...."
- atsay 11 43 n8 "5 ........................ ... ...."
- atsay 12 43 n8 "6 ........................ ... ...."
- atsay 13 43 n8 "7 ........................ ... ...."
- atsay 14 43 n8 "8 ........................ ... ...."
- atsay 15 43 n8 "9 ........................ ... ...."
- atsay 16 43 n8 "@ ........................ ... ...."
- atsay 17 43 n8 "# ........................ ... ...."
- atsay 18 43 n8 "$ ........................ ... ...."
- atsay 19 43 n8 "% ........................ ... ...."
- atsay 20 43 n8 "& ........................ ... ...."
- atsay 21 43 n8 "* ........................ ... ...."
- locate 23 00
- get s0
- goto top
- return
-